package io.renren.modules.simida.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.datasource.annotation.DataSource;
import io.renren.modules.simida.entity.UserDataEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户基础表
 *
 * @author miaoguoxin
 * @email ${email}
 * @date 2019-11-16 23:25:54
 */
public interface UserDataService extends IService<UserDataEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
    * @Description: 统计设备号分组
    * @Param:
    * @return:
    * @Author: miaoguoxin
    * @Date: 2019/11/22
    */
    List<JSONObject> queryCountGroupByDeviceType();

    /**
    * @Description: 统计版本号分组
    * @Param:
    * @return:
    * @Author: miaoguoxin
    * @Date: 2019/11/22
    */
    List<JSONObject> queryCountGroupByVersion();
}

